﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="List_yq.aspx.cs" Inherits="Three_Managerment_P0452_List_yq" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/style/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/style/css/style3.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/style/js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="/style/js/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="/style/js/select-ui.min.js"></script>
    <script type="text/javascript" src="/style/editor/kindeditor.js"></script>

    <script type="text/javascript">
        KE.show({
            id: 'content7',
            cssPath: './index.css'
        });
    </script>
    <script type="text/javascript">
        $(document).ready(function (e) {
            $(".select1").uedSelect({
                width: 345
            });
            $(".select2").uedSelect({
                width: 167
            });
            $(".select3").uedSelect({
                width: 100
            });
        });
    </script>
    <style>
        .pager {
            width: 95%;
            margin: 10px;
            line-height: 20px;
            display: block;
        }

            .pager span {
                border: 1px solid #CCCCCC;
                margin: 0 5px;
                padding: 1px 6px;
                float: left;
            }

            .pager a {
                border: 1px solid #CCCCCC;
                display: block;
                overflow: hidden;
                float: left;
                margin: 0 5px;
                padding: 1px 6px;
            }

                .pager a:hover {
                    border: 1 solid red;
                    background-color: #1657a8;
                    color: #ffffff;
                    margin: 0 5px;
                    padding: 1px 6px;
                }
    </style>
    <link href="../../style/My97DatePicker/skin/WdatePicker.css" rel="stylesheet" type="text/css" />
    <link href="../../style/My97DatePicker/skin/whyGreen/datepicker.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../style/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="../../style/My97DatePicker/calendar.js"></script>
    <!--弹出层样式-->
    <style type="text/css">
        #divLogin .tit, #detailtwo .tit, #detail .tit {
            background: -webkit-gradient(linear, left top, left bottom, from(#e9f8ff), to(#78c0de));
            display: block;
            height: 30px;
            cursor: move;
        }

            #divLogin .tit span, #detailtwo .tit span, #detail .tit span {
                float: right;
                line-height: 33px;
                padding: 0 8px;
                cursor: pointer;
                display: block;
            }
            #aaaa{
                
            }
    </style>
    <%--timepicker--%>
        <link type="text/css" href="http://code.jquery.com/ui/1.9.1/themes/smoothness/jquery-ui.css" rel="stylesheet" />

    <link href="/style/jQuery-Timepicker-Addon/jquery-ui-timepicker-addon.css" type="text/css" />
    <link href="/style/jQuery-Timepicker-Addon/demos.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="http://code.jquery.com/ui/1.9.1/jquery-ui.min.js"></script>
    <script src="/style/jQuery-Timepicker-Addon/jquery-ui-timepicker-addon.js" type="text/javascript"></script>

    <!--中文-->
    <script src="/style/js/jquery.ui.datepicker-zh-CN.js.js" type="text/javascript" charset="gb2312"></script>
    <script src="/style/js/jquery-ui-timepicker-zh-CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        jQuery(function () {
            // 时间设置
            jQuery('#times').datetimepicker({
                timeFormat: "HH:mm:ss",
                dateFormat: "yy-mm-dd"
            });

        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="Index.aspx">首页</a></li>
                <li><a href="#">延期列表</a></li>
            </ul>
        </div>

        <div class="formbody">
            <div id="usual1" class="usual">
                <div class="itab">
                    <ul>
                        <li onclick="tabl('1')"><a href="#tab1">已审批延期</a></li>
                        <li onclick="tabl('1')"><a href="#tab2">下级延期申请</a></li>
                    </ul>
                </div>
            </div>
            <div id="tab1" class="tabson">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <table class="tablelist">
                                <asp:Repeater runat="server" ID="repeater2" OnItemDataBound="repeater_ItemDataBound">
                                    <HeaderTemplate>
                                        <thead>
                                            <tr>
                                                <th width="10%">事件编号</th>
                                                <th width="10%">事件标题</th>
                                                <th width="10%">登记时间</th>
                                                <th width="10%">限办时间</th>
                                                <th width="10%">延期时间</th>
                                                <th width="10%">责任单位</th>
                                                <th width="10%">办理单位</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr onclick="javascript:window.location.href='Edit_Look.aspx?type=look&id=<%#Eval("sjid") %>'">

                                            <td style="overflow: hidden"><%#Eval("idopen") %></td>
                                            <asp:Repeater runat="server" ID="rep1">
                                                <ItemTemplate>
                                                    <td><%#Eval("title") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep2">
                                                <ItemTemplate>
                                                    <td><%#Eval("regtime") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep3">
                                                <ItemTemplate>
                                                    <td><%#Eval("xbtime") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <td style="overflow: hidden"><%#Eval("times") %></td>
                                            <asp:Repeater runat="server" ID="rep5">
                                                <ItemTemplate>
                                                    <td style="overflow: hidden"><%#Eval("NAME") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep6">
                                                <ItemTemplate>
                                                    <td style="overflow: hidden"><%#Eval("DWMC") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        <%#repeater2.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                                        </tbody>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </table>


                            <div class="pager">
                                <webdiyer:AspNetPager
                                    ID="AspNetPager2" runat="server" AlwaysShow="True" FirstPageText="首页"
                                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager2_PageChanged"
                                    PrevPageText="上一页" PageSize="10">
                                </webdiyer:AspNetPager>
                            </div>

                        </ContentTemplate>
                    </asp:UpdatePanel>
            </div>

            <div id="tab2" class="tabson">
                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
                            <table class="tablelist">
                                <asp:Repeater runat="server" ID="repeater3" OnItemDataBound="repeater_ItemDataBound">
                                    <HeaderTemplate>
                                        <thead>
                                            <tr>
                                                <th width="10%">事件编号</th>
                                                <th width="10%">事件来源</th>
                                                <th width="15%">标题</th>
                                                <th width="10%">事件状态</th>
                                                <th width="8%">姓名</th>
                                                <th width="10%">联系方式</th>
                                                <th width="12%">上报时间</th>
                                                <th width="12%">延期申请至</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr onclick="javascript:window.location.href='shyq.aspx?id=<%#Eval("sjid") %>'">

                                            <td style="overflow: hidden"><%#Eval("idopen") %></td>
                                            <asp:Repeater runat="server" ID="rep1">
                                                <ItemTemplate>
                                                    <td><%#Eval("title") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep2">
                                                <ItemTemplate>
                                                    <td><%#Eval("regtime") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep3">
                                                <ItemTemplate>
                                                    <td><%#Eval("xbtime") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <td style="overflow: hidden"><%#Eval("times") %></td>
                                            <asp:Repeater runat="server" ID="rep5">
                                                <ItemTemplate>
                                                    <td style="overflow: hidden"><%#Eval("NAME") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:Repeater runat="server" ID="rep6">
                                                <ItemTemplate>
                                                    <td style="overflow: hidden"><%#Eval("DWMC") %></td>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <td style="overflow: hidden"><%#select_yqz(Eval("idopen").ToString()) %></td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        <%#repeater3.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                                        </tbody>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </table>


                            <div class="pager">
                                <webdiyer:AspNetPager
                                    ID="AspNetPager3" runat="server" AlwaysShow="True" FirstPageText="首页"
                                    LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager3_PageChanged"
                                    PrevPageText="上一页" PageSize="10">
                                </webdiyer:AspNetPager>
                            </div>

                        </ContentTemplate>
                    </asp:UpdatePanel>
            </div>
        </div>



            
        <script type="text/javascript">
            $("#usual1 ul").idTabs();
        </script>

        <script type="text/javascript">
            $('.tablelist tbody tr:odd').addClass('odd');
        </script>

        <script type="text/javascript">
            function showFloat(id, appealid, appeal_name, appeal_tel, regtime, xbtime, appeal_email, title, context) //根据屏幕的大小显示两个层 
            {
                $("#id").val(id);
                $("#sjbh").val(appealid);
                $("#name").val(appeal_name);
                $("#tel").val(appeal_tel);
                $("#regtime").val(regtime);
                $("#xbtime").val(xbtime);
                $("#email").val(appeal_email);
                $("#title").val(title);
                $("#con").text(context);

                document.getElementById("bbbb").style.display = "none";
                document.getElementById("aaaa").style.display = "block";
            }
        </script>

    </form>
</body>
</html>

